home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
thesrc10.zip
/
MEMTRACK.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-04
|
638b
|
20 lines
/* MEM.H -- ** Copyright (c) 1990, Cornerstone Systems Group, Inc. */
#ifdef MEMTRACK
void *memCalloc();
void memFree();
void *memMalloc();
void *memRealloc();
void *memStrdup();
/* The next two functions are only called by the other mem functions */
void memTrack_alloc();
int memTrack_free();
#else
#define memCalloc(NUM,BYTES_EACH,TAG) calloc(NUM,BYTES_EACH)
#define memFree(POINTER,TAG) free(POINTER)
#define memMalloc(BYTES,TAG) malloc(BYTES)
#define memRealloc(OLD_POINTER,BYTES,TAG) realloc(OLD_POINTER,BYTES)
#define memStrdup(STRING, TAG) strdup(STRING)
#endif